import { SET_APP_STATE } from '../../constants/ActionType';
import * as APIS from '../../constants/APIS';
import { fetchPOST, fetchGET } from '../../utils/index';
var path = require('path');

export const setState = (value) => { return dispatch => dispatch({ type: SET_APP_STATE, payload: value }) };

// export const getNavData = () => {
//     return dispatch => {
//         fetchGET(APIS.IS_GET_NAV_DATA, {})
//             .then((res) => {
//                 dispatch({ type: GET_NAV_DATA, payload: res.data });
//             })
//     }
// }